package com.windrift.ws.order;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Created by IntelliJ IDEA.
 * User: cy
 * Date: 9/05/12
 * Time: 3:11 PM
 * To change this template use File | Settings | File Templates.
 */
@XmlRootElement(name = "Order")
public class Order {
    //@XmlElement(name = "customerId")
    //this will be automatically set
    private String customerId;
    private String itemId;
    private int qty;
    private double price;

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public int getQty() {
        return qty;
    }

    public void setQty(int qty) {
        this.qty = qty;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
}
